home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
presto
/
prest1_0.lha
/
Tests
/
exer
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-12-11
|
1KB
|
52 lines
#include "../make.h"
makefile: Makefile ../make.h
/lib/cpp < Makefile > makefile
make PRESTO=$(PRESTO) all
all: atomtest cvar locktest montest pingpong spintest
-rm makefile
atomtest: atomtest.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) atomtest.o -L$(PRESTO) -o atomtest $(LIBS) $(FILTER)
atomtest.o : atomtest.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c atomtest.$(CCSUFFIX)
cvar: cvar.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) cvar.o -L$(PRESTO) -o cvar $(LIBS) \
$(FILTER)
cvar.o : cvar.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c cvar.$(CCSUFFIX)
locktest: locktest.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) locktest.o -L$(PRESTO) -o locktest $(LIBS) \
$(FILTER)
locktest.o : locktest.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c locktest.$(CCSUFFIX)
montest: montest.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) montest.o -L$(PRESTO) -o montest $(LIBS) \
$(FILTER)
montest.o : montest.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c montest.$(CCSUFFIX)
pingpong: pingpong.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) pingpong.o -L$(PRESTO) -o pingpong $(LIBS) \
$(FILTER)
pingpong.o : pingpong.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c pingpong.$(CCSUFFIX)
spintest: spintest.o $(LIBPRESTO) Makefile
$(CC) $(LDFLAGS) -g $(V) spintest.o -L$(PRESTO) -o spintest $(LIBS) \
$(FILTER)
spintest.o : spintest.$(CCSUFFIX)
$(CC) $(V) $(CFLAGS) -c spintest.$(CCSUFFIX)